import Vue from 'vue';
import App from './App';
import router from './router';
import store from './store';
import bus from './utils/event_bus';
import './polyfills';
import './utils/scroll';
import './filters';
import './plugins';
import './permission';
import './api/h5';
// import './utils/report';
import { setTitle } from './utils';

Vue.prototype.$bus = bus;
Vue.prototype.$setTitle = setTitle;

new Vue({
  router,
  store,
  el: '#app',
  render: (h) => h(App),
});
